package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class QueryPatientVo {

    @NotBlank(message = "项目不可为空")
    @ApiModelProperty(value = "所处项目id")
    private String projectId;

    @ApiModelProperty(value = "医院id")
    private String hospitalId;


    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "患者身份证号")
    private String idCard;

    @ApiModelProperty(value = "患者病历号")
    private String recordNumber;


    @ApiModelProperty(value = "开始时间")
    private Date beginTime;


    @ApiModelProperty(value = "结束时间")
    private Date endTime;


    @ApiModelProperty(value = "当前页")
    private Integer current;

    @ApiModelProperty(value = "限制多少")
    private Integer limit;

}
